package com.kcsj.domain;

import lombok.*;

import java.util.Collection;

@Setter
@Getter
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class ProductModel {
    private String productModelNo;
    private String description;
    private double price;
    private String remarks;
    private double volume;
    private double weight;
    private String materials;
    private Warehouse warehouse;
    private Product product;
    private Integer number;
    private Collection<Warehouse> warehouses;
    private Integer rest;
    public ProductModel(String productModelNo,
                        String description, double price,
                        String remarks, double volume,
                        double weight, String materials,
                        Product product,
                        Collection<Warehouse> warehouses,
                        Integer rest) {
        this.productModelNo = productModelNo;
        this.description = description;
        this.price = price;
        this.remarks = remarks;
        this.volume = volume;
        this.weight = weight;
        this.materials = materials;
        this.product = product;
        this.warehouses = warehouses;
        this.rest = rest;
    }
}
